import { Module } from "@nestjs/common";
import { UserController } from "./controller/user.controller";
import { UsersService } from "./service/users.service";
import { UsersController } from "./controller/users.controller";
import { BookController } from "./controller/Book.controller";

@Module({
    imports:[],
    controllers:[UsersController,BookController],
    providers:[UsersService],
    //将userservice添加到export数组进行导出，允许其他模块导入
    exports:[UsersService]
})
export class CoreModule { }
